import Vue from 'vue'
import App from './App.vue'
import "mock/mock"
import router from "router/router"
import * as api from "api/api.js"
import "nprogress/nprogress.css"
import "util/component"
import store from "store/store.js"
import "common/transition.less"
import "@/util/validate.js"
import "@/util/element.js"

Vue.config.productionTip = false
Vue.prototype.$bus = new Vue()
Vue.prototype.$api = api

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
